package br.com.lh.urabuilder.event.factory
{
	import br.com.lh.urabuilder.view.ActionComponent;
	
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import org.mock4as.Mock;

	public class UraEventFactoryMock extends Mock implements UraEventFactory
	{
		public function UraEventFactoryMock()
		{
			super();
		}
		
		public function getEventWithActionComponent(eventName:String, component:ActionComponent):CairngormEvent{
			record("getEventWithActionComponent",eventName,component);
			return expectedReturnFor("getEventWithActionComponent") as CairngormEvent;
		}
		
		public function getLoadUraEvent(eventName:String, sessionId:String, uraId:String="-1"):CairngormEvent{
			record("getLoadUraEvent",eventName,sessionId,uraId);
			return expectedReturnFor("getLoadUraEvent") as CairngormEvent;
		}
		
	}
}